/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>

using namespace std;

int main_92()
{
    int arr[]={7,1,2,-3,4,6};
    int len=sizeof(arr)/sizeof(arr[0]);
    // in ascending order
    for (int i=0;i<len ; ++i)
    {
        int k=i;
        for (int j=i+1;j<len ;++j )
        {
            if (arr[j]<arr[k])
            {
                k=j;
            }
        }
        int temp=arr[k];
        arr[k]=arr[i];
        arr[i]=temp;
    }
    for (int i=0;i<len ; ++i)
    {
        printf("%d ",arr[i]);
    }
	return 0;
}
